home *** CD-ROM | disk | FTP | other *** search
- Path: uxh.cso.uiuc.edu!p-kumar
- From: kumar prashant <p-kumar@uxh.cso.uiuc.edu>
- Newsgroups: comp.lang.c++
- Subject: Problem compiling C++ pgm
- Date: Tue, 16 Apr 1996 11:26:19 -0500
- Organization: University of Illinois at Urbana
- Message-ID: <Pine.CVX.3.91.960416112146.21292A-100000@uxh.cso.uiuc.edu>
- NNTP-Posting-Host: uxh.cso.uiuc.edu
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; charset=US-ASCII
-
- Hi
-
- I was compiling C++ code on an SGI using the CC compiler. I have
- used templates in some places. I have a template declaration file Dlist.h
- All functions used by this class are declared and defined in this file.
-
- All my object files are made without any problem. During linking
- I get the following error. I can't make head or tail of it.
-
- CC -xansi -O2 -lm -o /afs/ncsa/scratch/temp/pkumar/tpetri
- -bloadmap:error /afs/ncsa/scratch/temp/pkumar/tpetri.o
- /afs/ncsa/scratch/temp/pkumar/etc.o /afs/ncsa/scratch/temp/pkumar/parse.o
- /afs/ncsa/scratch/temp/pkumar/value.o /afs/ncsa/scratch/temp/pkumar/tok.o
- /afs/ncsa/scratch/temp/pkumar/map.o /afs/ncsa/scratch/temp/pkumar/place.o
- /afs/ncsa/scratch/temp/pkumar/trans.o
- /afs/ncsa/scratch/temp/pkumar/net.o
- CC[ptlink] warning: template definition file Dlist.c not found
- CC[ptlink] fatal error: could not move DList__pt__5_3Map.o -->
- ./ptrepository/DList__pt__5_3Map.o
- *** Error code 1 (bu21)
-
- Can anybody figure out what is happening ?
-
- Thanks in advance
- Prashant
-
- \|||/
- ( O-O )
- ---*-------------*----------.ooo0--(_)-0ooo.------*------------*-------
-
- PRASHANT KUMAR URL <http://orion.me.uiuc.edu/~p-kumar>
-
- Off : 348 CSRL, Mech & Ind Engg Res: 203 S.Sixth St.#101
- Urbana, IL 61801 Champaign, IL 61820
- (217) 333-2850 .oooO (217) 398-1232
- ( ) Oooo.
- ---*--------------*------------\ (----( )-------*------------*-------
- \_) ) /
- (_/
-
-